package com.syni.mdd.sjb.common.component.utils.common.constants;

public class Constants {
    public static final String REDIS_KEY_PREFIX = "dsApi:";  //Redis键前缀

    public static final String REDIS_KEY_USE_CODE = REDIS_KEY_PREFIX + "code:";

    public static String TOKEN_CHECK = "API_0101@MDD_SUCCESS";

    public static final int MAX_GET_RUN = 10000;

    //分布式锁
    public static final int DISTRIBTUED_LOCK_EXPIRE = 60 * 2;

    public static final String COMMON_FLAG_FALSE = "0"; // 通用标志-否
    public static final String COMMON_FLAG_TRUE = "1"; // 通用标志-是
    public static final int  COMMON_FLAG_FALSE_INT = Integer.parseInt(COMMON_FLAG_FALSE);
    public static final int COMMON_FLAG_TRUE_INT = Integer.parseInt(COMMON_FLAG_TRUE);
}
